﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="BannerSearch.ascx.vb"
    Inherits="FrontEnd_Control_BannerSearch" %>
<%@ Import Namespace="Cls_Common" %>

<script type="text/javascript">
    $(function () {



        $("#<%= btnSearh.ClientID %>").click(function () {
            if (($("#<%= txtSearch.ClientID %>").val() == "") || ($("#<%= txtSearch.ClientID %>").val().length < 2)) {
                    Alertbox("Vui lòng nhập từ khóa");
                    return false;
                }
        });    
    });
</script>


<div class="box_search">
 
    <!-- box search -->
        <div class="text_select">
            <asp:DropDownList ID="ddlType" CssClass="input_selectcategory" runat="server"
                Style="width: 100%">
            </asp:DropDownList>
        </div>    
        <div class="text_search">
            <asp:TextBox ID="txtSearch" runat="server" CssClass="input_search" placeholder="từ khóa"></asp:TextBox>
        </div>

        <div class="cell_btnsearch">
            <asp:Button ID="btnSearh" CausesValidation="false" runat="server" CssClass="btn_search"
                Text="" />
        </div>
    
      
</div>

